/*
 * @Descripttion: 
 * @version: 
 * @Author: guangyunl
 * @Date: 2024-01-28 00:34:09
 * @LastEditors: guangyunl
 * @LastEditTime: 2024-03-14 22:42:36
 */
//轮播图管理1
import api from '@/api';

//查询轮播图信息
export function queryCarouselsApi(params) {
    return api.get('/tube/admin/queryCarousels', { params });
}

// 新增轮播图信息
export function createCarouselsApi(data) {
    return api.post('/tube/admin/createCarousels', data);
}

// 修改轮播图信息
export function updateCarouselsApi(data) {
    return api.put('/tube/admin/updateCarousels', data);
}

//删除轮播图信息
export function deleteCarouselsApi(params) {
    return api.delete('/tube/admin/deleteCarousels', { params });
}